package com.xihuanjun.sdk.entity;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString
@NoArgsConstructor
@JsonAutoDetect(fieldVisibility= JsonAutoDetect.Visibility.ANY,getterVisibility= JsonAutoDetect.Visibility.NONE)
public class JstGoodsItem {
    private String sku_id;
    private BigDecimal sale_base_price;
    private BigDecimal sale_price;
    private BigDecimal price;
    private boolean is_gift;
    private Integer qty;


    private String sku_type;

    private String name;

    private String refund_status;

    private Integer r_qty;

    private BigDecimal sale_amount;

    private BigDecimal amount;

    private BigDecimal free_amount;

    private String outer_oi_id;
    private String raw_so_id;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date receive_date;

    private String remark;

}
